function GAUSSIAN_WIN = my_gaussian_win(win_len,a)
%w(t) = e^(-at^2);
if(win_len<=0)
    error('窗宽度必须为正数')
end
idx=1:win_len;
center_pos = round(win_len/2);
GAUSSIAN_WIN = 1/(2*sqrt(pi*a)).*exp(-((idx-center_pos).^2/4/a/win_len));
amp=win_len/sum(GAUSSIAN_WIN);
GAUSSIAN_WIN=GAUSSIAN_WIN*amp;
end